page {
  background: #f2f2f2;
}

.coupons image {
  width: 100%;
  height: 100%;
}

.coupons .banner {
  font-size: 0;
  width: 95%;
  height: auto;
  margin: 24rpx auto 0;
}

.coupons .con-box {
  padding: 0 20rpx;
}

.coupons .con-box .c-tit {
  padding: 20rpx;
  font-size: 28rpx;
  font-weight: 600;
  position: relative;
  margin-top: 10rpx;
}

.coupons .con-box .c-tit::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 0;
  height: 0;
  content: ' ';
  font-size: 0;
  border: 10rpx solid transparent;
  border-left: 12rpx solid #f2171a;
  border-radius: 6rpx;
}

/* 店铺券 */
.coupons .con-box .special .item {
  margin-bottom: 20rpx;
}

.coupons .con-box .special .item .item-box {
  background: #fff;
  position: relative;
  border-radius: 10rpx;
  display: flex;
  overflow: hidden;
}

.coupons .con-box .special .item .item-box::before,
.coupons .con-box .special .item .item-box::after {
  position: absolute;
  right: 198rpx;
  display: block;
  width: 24rpx;
  height: 24rpx;
  content: ' ';
  font-size: 0;
  background: #f4f4f4;
  border-radius: 50%;
  z-index: 1;
}

.coupons .con-box .special .item .item-box::before {
  top: -12rpx;
}

.coupons .con-box .special .item .item-box::after {
  bottom: -12rpx;
}

.coupons .con-box .special .item .item-box .item-con {
  flex: 1;
  padding: 20rpx;
}

.coupons .con-box .special .item .item-box .item-con .shop-msg {
  font-size: 24rpx;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coupons .con-box .special .item .item-box .item-con .prod-msg {
  margin-top: 20rpx;
  display: flex;
}

.coupons .con-box .special .item .item-box .item-con .prod-msg .p-item {
  margin-left: 20rpx;
}

.coupons .con-box .special .item .item-box .item-con .prod-msg .p-item:first-child {
  margin-left: 0;
}

.coupons .con-box .special .item .item-box .item-con .prod-msg .img {
  width: 140rpx;
  height: 140rpx;
  font-size: 0;
  border-radius: 10rpx;
  overflow: hidden;
}

.coupons .con-box .special .item .item-box .item-con .prod-msg .img image {
  border-radius: 10rpx;
}

.coupons .con-box .special .item .item-box .item-con .prod-msg .price {
  color: #333;
  font-size: 22rpx;
  display: block;
  text-align: center;
}

.coupons .con-box .special .item .item-box .item-btn {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20rpx;
  width: 170rpx;
}

.coupons .con-box .special .item .item-box .item-btn .btn-box {
  position: relative;
  z-index: 1;
  flex: 1;
}

.coupons .con-box .special .item .item-box .item-btn .btn-box .number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: #f2171a;
  font-family: arial;
  font-weight: 600;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.coupons .con-box .special .item .item-box .item-btn .btn-box .number .symbol {
  font-size: 28rpx;
}

.coupons .con-box .special .item .item-box .item-btn .btn-box .number .text {
  font-size: 44rpx;
}

.coupons .con-box .special .item .item-box .item-btn .btn-box .condition {
  font-size: 24rpx;
  line-height: 28rpx;
  margin: 10rpx 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coupons .con-box .special .item .item-box .item-btn .btn-box .progress-box {
  height: 22rpx;
  background: #ffb5af;
  border-radius: 30rpx;
  position: relative;
  margin: 0 6rpx;
  overflow: hidden;
}

.coupons .con-box .special .item .item-box .item-btn .btn-box .progress-box .text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 22rpx;
  line-height: 22rpx;
  font-size: 20rpx;
  color: #fff;
  text-align: center;
}

.coupons .con-box .special .item .item-box .item-btn .btn-box .progress-box .progress {
  height: 22rpx;
  border-radius: 30rpx;
  background: #f53e17;
}

.coupons .con-box .special .item .item-box .item-btn .btn-box .btn {
  font-size: 24rpx;
  color: #fff;
  margin-top: 24rpx;
  height: 50rpx;
  line-height: 50rpx;
  box-sizing: border-box;
  text-align: center;
  border-radius: 50rpx;
  background: -webkit-linear-gradient(to left, #f53e17, #f2171a);
  background: linear-gradient(to right, #f53e17, #f2171a);
}

.coupons .con-box .special .item .item-box .item-btn::before {
  position: absolute;
  left: 0;
  top: 30rpx;
  bottom: 30rpx;
  display: block;
  width: 2rpx;
  height: auto;
  content: ' ';
  font-size: 0;
  border-left: 2rpx dashed #f2171a;
  opacity: 0.1;
}

.coupons .con-box .special .item .item-box.robbed .item-btn::before {
  border-left: 2rpx dashed #333;
}

.coupons .con-box .special .item .item-box .icon {
  width: 100rpx;
  height: 100rpx;
  position: absolute;
  right: 20rpx;
  top: -30rpx;
  display: none;
}

.coupons .con-box .special .item .item-box.received .icon,
.coupons .con-box .special .item .item-box.robbed .icon {
  display: block;
}

.coupons .con-box .special .item .item-box.received .item-btn .btn-box .btn {
  border: 2rpx solid #f2171a;
  color: #f2171a;
  background: #fff;
  line-height: 46rpx;
}

.coupons .con-box .special .item .item-box.robbed .item-btn .btn-box .number,
.coupons .con-box .special .item .item-box.robbed .item-btn .btn-box .condition {
  color: #999;
}

.coupons .con-box .special .item .item-box.robbed .item-btn .btn-box .progress-box,
.coupons .con-box .special .item .item-box.robbed .item-btn .btn-box .progress-box .progress {
  background: #ccc;
}

.coupons .con-box .special .item .item-box.robbed .item-btn .btn-box .btn {
  border: 2rpx solid #ddd;
  color: #999;
  background: #fff;
  line-height: 46rpx;
}
/* 店铺券 end */

/* 商品券 */

.coupons .con-box .special .item .item-box .left {
  flex: 1;
  display: flex;
  padding: 20rpx;
}

.coupons .con-box .special .item .item-box .left .img {
  width: 180rpx;
  height: 180rpx;
  border-radius: 10rpx;
  font-size: 0;
}

.coupons .con-box .special .item .item-box .left .img image {
  border-radius: 10rpx;
}

.coupons .con-box .special .item .item-box .left .text-box {
  flex: 1;
  margin-left: 20rpx;
}

.coupons .con-box .special .item .item-box .left .text-box .goods-name {
  font-size: 24rpx;
  height: 72rpx;
  line-height: 36rpx;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.coupons .con-box .special .item .item-box .left .text-box .coupon-number {
  display: flex;
  align-items: baseline;
  margin-top: 40rpx;
}

.coupons .con-box .special .item .item-box .left .text-box .coupon-number .number {
  display: flex;
  align-items: baseline;
  color: #f2171a;
  font-family: arial;
  font-weight: 600;
}

.coupons .con-box .special .item .item-box .left .text-box .coupon-number .number .symbol {
  font-size: 28rpx;
}

.coupons .con-box .special .item .item-box .left .text-box .coupon-number .number .text {
  font-size: 44rpx;
}

.coupons .con-box .special .item .item-box .left .text-box .coupon-number .condition {
  font-size: 24rpx;
  flex: 1;
  margin-left: 10rpx;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coupons .con-box .special .item .item-box .right {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20rpx;
  width: 170rpx;
}

.coupons .con-box .special .item .item-box .right::before {
  position: absolute;
  left: -2rpx;
  top: 30rpx;
  bottom: 30rpx;
  display: block;
  width: 2rpx;
  height: auto;
  content: ' ';
  font-size: 0;
  border-right: 2rpx dashed #f2171a;
  opacity: 0.1;
}

.coupons .con-box .special .item .item-box .right .btn-box {
  flex: 1;
  position: relative;
  z-index: 1;
}

.coupons .con-box .special .item .item-box .right .btn-box .progress-text {
  font-size: 24rpx;
}

.coupons .con-box .special .item .item-box .right .btn-box .progress-box {
  height: 22rpx;
  background: #f0f0f0;
  border-radius: 30rpx;
  margin: 10rpx 6rpx 0;
  overflow: hidden;
}

.coupons .con-box .special .item .item-box .right .btn-box .progress-box .progress {
  height: 22rpx;
  border-radius: 30rpx;
  background: #f53e17;
}

.coupons .con-box .special .item .item-box .right .btn-box .btn {
  font-size: 24rpx;
  color: #fff;
  height: 50rpx;
  line-height: 50rpx;
  box-sizing: border-box;
  text-align: center;
  border-radius: 50rpx;
  background: -webkit-linear-gradient(to left, #f53e17, #f2171a);
  background: linear-gradient(to right, #f53e17, #f2171a);
  margin-top: 20rpx;
}

.coupons .con-box .special .item .item-box.received .right .btn-box .btn {
  border: 2rpx solid #f2171a;
  color: #f2171a;
  background: none;
  line-height: 46rpx;
}

.coupons .con-box .special .item .item-box.robbed .right .btn-box .btn {
  border: 2rpx solid #ddd;
  color: #999;
  background: none;
  line-height: 46rpx;
}

.coupons .con-box .special .item .item-box.robbed .right .btn-box .progress-text {
  color: #999;
}

.coupons .con-box .special .item .item-box.robbed .right .btn-box .progress-box,
.coupons .con-box .special .item .item-box.robbed .right .btn-box .progress-box .progress {
  background: #eee;
}
/* 商品券 end */

/* 加载完成 */
.loadall {
  margin: 20rpx 0;
  line-height: 2em;
  font-size: 28rpx;
  color: #aaa;
  text-align: center;
}

/* 灰色按钮 */
.gray-btn {
  background: #ddd !important;
}
